const routes = [
  {
    path: "/",
    component: "@/layouts/index",
    routes: [
      {
        path: "/",
        component: "@/pages/index",
      },
    ],
  },
  // 使用独立路由配置，不嵌套在顶级layout内
  {
    path: "/study",
    component: "@/pages/study/layout",
    routes: [
      {
        path: "/study/formpage",
        component: "@/pages/study/FormPage",
        exact: true,
      },
    ],
  },
];

export default routes;
